/**
 * output package name
 */
package com.kingdee.eas.custom.myinterface;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class PaymentWayEnum extends StringEnum
{
    public static final String NORMAL_VALUE = "1";
    public static final String MERGE_VALUE = "2";
    public static final String LIMIT_VALUE = "3";
    public static final String EMPTY_VALUE = "0";

    public static final PaymentWayEnum normal = new PaymentWayEnum("normal", NORMAL_VALUE);
    public static final PaymentWayEnum merge = new PaymentWayEnum("merge", MERGE_VALUE);
    public static final PaymentWayEnum limit = new PaymentWayEnum("limit", LIMIT_VALUE);
    public static final PaymentWayEnum empty = new PaymentWayEnum("empty", EMPTY_VALUE);

    /**
     * construct function
     * @param String paymentWayEnum
     */
    private PaymentWayEnum(String name, String paymentWayEnum)
    {
        super(name, paymentWayEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PaymentWayEnum getEnum(String paymentWayEnum)
    {
        return (PaymentWayEnum)getEnum(PaymentWayEnum.class, paymentWayEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PaymentWayEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PaymentWayEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PaymentWayEnum.class);
    }
}